package com.duobaoyu.dby.supply.biz.service.config;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.common.biz.dto.config.ChannelCallbackMappingDTO;
import com.duobaoyu.dby.supply.common.biz.dto.config.ChannelCallbackMappingQueryDTO;
import com.duobaoyu.dby.supply.db.entity.config.ChannelCallbackMapping;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ChannelCallbackMappingService
 * @createTime 10:35:00 2023/10/16
 */
public interface ChannelCallbackMappingService {

    String queryChannelPathMapping(String host, String channelPath);

    boolean createChannelPathMapping(ChannelCallbackMappingDTO channelCallbackMapping);

    boolean updateChannelPathMapping(ChannelCallbackMappingDTO channelCallbackMapping);

    boolean deleteChannelPathMapping(List<Long> channelCallbackMappingIds);

    Page<ChannelCallbackMapping> pageChannelCallbackMapping(ChannelCallbackMappingQueryDTO channelCallbackMappingQuery);
}
